//
//  MediaEditPreviewViewController.h
//  XPhoto
//
//  Created by baboy on 2019/5/28.
//  Copyright © 2019 baboy. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
@protocol  PhotoEditPreviewDelegate;

@interface PhotoEditPreviewViewController : UIViewController
@property(nonatomic, strong) IBOutlet UIScrollView *contentView;
@property(nonatomic, strong) IBOutlet UIPageControl *pageControl;

@property(nonatomic, strong) NSMutableArray *photos;
@property(nonatomic, strong) NSMutableArray *photoViews;
@property(nonatomic, assign) NSInteger defaultPage;
@property(nonatomic, assign) id<PhotoEditPreviewDelegate> delegate;

- (id)initWithPhotos:(NSArray*)photos;
@end

@protocol  PhotoEditPreviewDelegate <NSObject>

- (void) previewViewController:(id)viewController didRemovePhoto:(id)photo;

@end
NS_ASSUME_NONNULL_END
